package cn.wolfcode.cms.service.impl;

import cn.wolfcode.cms.domain.MemberGrade;
import cn.wolfcode.cms.mapper.MemberGradeMapper;
import cn.wolfcode.cms.service.IMemberGradeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MemberGradeServiceImpl implements IMemberGradeService {

    @Autowired
    private MemberGradeMapper memberGradeMapper;


    public List<MemberGrade> list() {
        return memberGradeMapper.selectAll();
    }


}
